package com.example.win.android_banduyujia.http.request;

import com.example.win.android_banduyujia.http.UrlContext;

import java.util.Map;

/**
 * Created by Win on 2015/9/23.
 */
public class VerifyCodeRequest extends BaseHttpRequest {
    public final static String URL = UrlContext.Url_VERIFYCODE.getContext();

  //  private String mMobile;
    private String cellphone;

    public VerifyCodeRequest(String mobile, String code) {
    //   mMobile = mobile;
        cellphone = code;
    }

    @Override
    protected String toRequestURL() {
        return URL;
    }

    @Override
    protected String toHttpMethod() {
        return HTTP_METHOD_POST;
    }

    @Override
    protected void toHttpRequestParams(Map<String, String> params) {
     //   params.put("mobile", mMobile);
        params.put("cellphone", cellphone);
    }
}
